import request from '@/utils/zyrequest'
import { getToken } from '@/utils/auth'

export default {
    select(pojo) {
        return request({
            url: '/item/medicinalProductBaseEdition/list',
            method: 'get',
            params: {
                id: pojo.id,
                page: pojo.page,
                size: pojo.size,
                bName: pojo.bName,
                bProvinceSeek: pojo.bProvinceSeek, // 省
                bCitySeek: pojo.bCitySeek, //市
                bRegionSeek: pojo.bRegionSeek, //区
                bArea: pojo.bArea,
                tYield: pojo.tYield,
                tMedicinalQuality: pojo.tMedicinalQuality,
                bInputLocation: pojo.bInputLocation,
                eTime: pojo.eTime
            },
            headers: {
                'token': getToken()
            }
        })
    }
}